#include "proxy.h"

int main()
{
    Subject* sub = new RealSubject();
    Proxy* proxy = new Proxy(sub);
    proxy->buy();

    delete sub;
    delete proxy;
    return 0;
}